/**
 * @description:  contentTyp
 */
export const ContentTypeEnum = {
  // json
  JSON: 'application/json;charset=UTF-8',
  // form-data qs
  FORM_URLENCODED: 'application/x-www-form-urlencoded;charset=UTF-8',
  // form-data  upload
  FORM_DATA: 'multipart/form-data;charset=UTF-8',
}

/**
 * @description:  后端多服务平台模型
 */
export const MicroServiceEnum = {
  BASE: 'hybrid',
  GATEWAY: 'vankeyi_master',
}

/**
 * 请求header
 * @description: request header extend
 */
export const ConfigEnum = {
  // Content Type
  CONTENT_TYPE: 'Content-Type',
  // Auth
  AUTH: 'Authorization',
  // Token
  MICRO_SERVICE_PLATFORM: 'Platform-Module-Id',
  // App_Plat
  APP_PLAT: 'app-plat',
  // Token
  TOKEN: 'token',
  // Timestamp
  TIMESTAMP: 'timestamp',
  // SignMD5
  SIGNMD5: 'X-Sign',
  // SignSRA
  SIGNSRA: 'sign',
  // Version
  VERSION: 'app-version',
  // Platform
  PLATFORM: 'api-plat',
}

/**
 * 请求路径携带
 * @description:  ApiVersoin
 */
export const ApiVersoin = {
  v1: '/v1',
  v2: '/v2',
  v3: '/v3',
  V2: '/V2',
  V3: '/V3',
  V4: '/V4',
  V5: '/V5',
  V6: '/V6',
  V7: '/V7',
  V8: '/V8',
  V9: '/V9',
  V10: '/V10',
  V11: '/V11',
}
